package com.fakesmoker.project.service.impl.inner;/**
 * @program: springboot-init-old-master
 * @author: lcy
 * @create: 2025-02-19 16:05
 */

import com.fakesmoker.apicommon.model.entity.InterfaceInfo;
import com.fakesmoker.apicommon.model.entity.User;
import com.fakesmoker.apicommon.model.entity.UserInterfaceInfo;
import com.fakesmoker.apicommon.service.InnerUserInterfaceInfoService;
import com.fakesmoker.project.service.UserInterfaceInfoService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

/**
 2025/2/19,
 */

@DubboService
public class InnerUserInterfaceInfoServiceImpl implements InnerUserInterfaceInfoService {

    @Resource
    private UserInterfaceInfoService userInterfaceInfoService;

    @Override
    public void validUserInterfaceInfo(UserInterfaceInfo userInterfaceInfo, boolean add) {

    }

    @Override
    public User getInvokeUser(String accessKey, String secretKey) {
        return null;
    }

    @Override
    public InterfaceInfo getInterfaceInfo(String path, String method) {
        return null;
    }

    @Override
    public boolean invokeCount(long interfaceInfoId, long userId) {
        return userInterfaceInfoService.invokeCount(interfaceInfoId, userId);
    }
}
